//
//  Appdelegate+Add.swift
//  QMXK
//
//  Created by jenkin on 2018/12/3.
//  Copyright © 2018年 jenkin. All rights reserved.
//

import Foundation
import UIKit

extension AppDelegate{
    
    func setUIInit(){
    UITabBarItem.appearance().setTitleTextAttributes([NSAttributedString.Key.font:CommenConst.shareCommentConst.KNFONT(12)], for: UIControl.State.normal)
    UITabBarItem.appearance().setTitleTextAttributes([NSAttributedString.Key.font:CommenConst.shareCommentConst.KNFONT(12)], for: UIControl.State.selected)
        
    if #available(iOS 11.0, *) {
        UITableView.appearance().contentInsetAdjustmentBehavior = UIScrollView.ContentInsetAdjustmentBehavior.never
    } else {
      //  UITableView.appearance().automaticallyAdjustsScrollViewInsets = false
    }
    }
    
    func setDataInit(){
        
    }
}
